package top.yaofengqiao.springcloudsimple.common.constant;

/**
 * @author yfq
 * @date 2024/6/14 13:11
 * @description
 */
public class OrderConstant {
    private OrderConstant() {
    }

    public static final String PREFIX = "demo_";
    public static final String ORDER_NO_PREFIX = "SCS";

    public static class RedisConstant {
        private RedisConstant() {
        }

        public static final String ORDER_NO_SERIAL = PREFIX + "order_no_serial";
        public static final String ORDER_CREATE_LOCK = PREFIX + "order_create_lock:";
    }
}
